package config

type Config struct {
	Name   string
	Port   int
	Mode   string
	MaxConns   int
	Prefix string
	Mysql struct {
		DataSource string
	}
	Redis struct {
		Host     string
		Password string
		Db       int
	}
	Jwt   struct {
		SigningKey  string
		ExpiresTime int
	}
	AliSms   struct {
		AccessKeyId  string
		AccessKeySecret  string
		SignName  string
		Tempcode  string
	}
	Upload struct {
        Domain			string
        MaxBytes		int64
		FileExt      	string
		AccessPath      string
		UploadPath      string
		Disks           string
		UploadType      string
		AliyunOss       struct {
			Endpoint        string
			AccessKeyId     string
			AccessKeySecret string
			BucketName      string
			Callback        string
		}
		QiniuOss       struct {
			Domain          string
			Zone            string
			Bucket          string
			AccessKey       string
			SecretKey       string
			UseHttps        bool
			UseCdnDomains   bool
			ClientUploadUrl string
		}
		TencentCos       struct {
			Bucket    string
			Region    string
			SecretId  string
			SecretKey string
			Schema    string
		}
	}
}
